﻿<UserControl x:Class="Microsoft.Research.ScientificWorkflow.UIDesigner.ConditionConnector"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:UI="clr-namespace:Microsoft.Research.ScientificWorkflow.UIDesigner"
    Height="Auto" Width="Auto" Foreground="AliceBlue" >
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition ></ColumnDefinition>
            <ColumnDefinition  ></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <StackPanel Name ="DropPanel" Grid.Column="0">
            <Canvas Name="operatorCanvas" MinHeight="100" MinWidth="200" Width="200" Height="100" Background="Transparent"  AllowDrop="True" />
            <Grid Height="Auto" Width="Auto"  HorizontalAlignment="Center" Name="dropGrid">
                <Polyline Points="0,50,150,50" Stroke="#FF94B3C4" HorizontalAlignment="Center" Margin="10,10,10,10" Name="connectorpath" StrokeThickness="3"/>
                <UI:DropCircle x:Name="dropCircle" Margin="79,0,75,5" AllowDrop="True" VerticalAlignment="Bottom" Drop="OnDropAreaDrop" DragOver="OnDropAreaDragOver"/>
                <!--<Ellipse Fill="White" Name="dropArea" Height="15" AllowDrop="True" Stroke="#FF94B3C4" Margin="79,0,75,5"  StrokeThickness="3" VerticalAlignment="Bottom" Drop="OnDropAreaDrop" AutomationProperties.AutomationId="AIDConditionDrop"></Ellipse>-->
            </Grid>
            <TextBlock Text="Drop area for condition activity" Opacity="1" Foreground="#FF94B3C4" HorizontalAlignment="Center"  FontStyle="Italic" Margin="0,0,0,0" />
        </StackPanel>
        <Grid Name="conditionOutput" Grid.Column="1" />
    </Grid>
</UserControl>
